// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
// See the LICENCE file in the repository root for full licence text.

.news-sidebar-years {
  margin-bottom: 20px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 5px;

  padding: 5px;

  background-color: @osu-colour-b3;
  border-radius: @border-radius-large;

  font-size: @font-size--normal;
  text-align: center;

  &__item {
    &--active {
      .link-plain();
      color: @osu-colour-c1;
      font-weight: 600;

      .link-hover({
        color: @osu-colour-c1;
      });
    }
  }
}
